To learn more about modding, visit http://zarkonnen.com/airships/modding_guide

If you're stuck and need help, feel free to contact me at zarkonnen@gmail.com

There are a few features in the data formats that are not being used right now, so they're documented here:

You can attach extra tinctures, heraldic charges, and arms layouts to heraldic styles without having to overwrite the whole style:

Tincture

Example of adding a new tincture, puce, and making it available to the player, AI cities, and pirates (but not brigands) for use both in charges and as part of the layout:

{
    "name": "PUCE",
    "metal": false,
    "pureColour": {
        "r": 204,
        "g": 136,
        "b": 153
    },
    "moduleColour": {
        "r": 204,
        "g": 136,
        "b": 153
    },
    "addToHeraldicStylesAsChargeTincture": [ "player", "city", "pirate" ],
    "addToHeraldicStylesAsLayoutTincture": [ "player", "city", "pirate" ]
},

ArmsLayout

Example of overriding the gyronny arms layout to make it available to the player. (It's not available to the player by default because it lacks a heraldic charge, and hence can't have a bonus.)

{
    "name": "GYRONNY",
    "tinctures": 2,
    "onTop": [ "TINCTURE0", "TINCTURE1" ],
    "charges": [],
    "shieldCharges": [],
    "apps": [
        { "app": { "src": "heraldry", "x": 2, "y": 8 }, "w": 32, "h": 32, "tincture": "TINCTURE0" },
        { "app": { "src": "heraldry", "x": 38, "y": 8 }, "w": 32, "h": 32, "tincture": "TINCTURE1" }
    ],
    "unlitApps": [
        { "app": { "src": "unlit_heraldry", "x": 2, "y": 8 }, "w": 32, "h": 32, "tincture": "TINCTURE0" },
        { "app": { "src": "unlit_heraldry", "x": 38, "y": 8 }, "w": 32, "h": 32, "tincture": "TINCTURE1" }
    ],
    "shieldImages": [
        { "src": "heraldry", "x": 0, "y": 151, "w": 36, "h": 41, "tincture": "TINCTURE0" },
        { "src": "heraldry", "x": 703, "y": 151, "w": 36, "h": 41, "tincture": "TINCTURE1" },
    ],
    "shieldOutline": { "src": "heraldry", "x": 0, "y": 87, "w": 36, "h": 41 },
	"addToHeraldicStyles": ["player"]
},

Charge

Example of overriding the skull and crossbone charge to also make it available to the player:

{
	"name": "SKULL_AND_CROSSBONES",
	"bonus": "NO_BONUS",
	"appearance": { "src": "heraldry", "x": 1, "y": 1 },
	"unlitAppearance": { "src": "unlit_heraldry", "x": 1, "y": 1 },
	"addToHeraldicStyles": ["player"]
},
